transforms of discontinuous and periodic functions